<template>
  <div class="table-container">
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="deptName" label="单位" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="num" label="一般隐患总数" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="correction" label="整改中数量" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="underControl" label="管控数量" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="complete" label="整改完成数量" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="investigationTime" label="最近排查时间" min-width="80"  align="center">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "generalHazardTable",
  props: {
    tableData: {
      type: Array,
      default: () => [],
    },
  },
};
</script>

<style lang="scss" scoped></style>
